<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TemplateRegistry (Soy Complete)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="TemplateRegistry (Soy Complete)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/soytree/TemplateNode.SoyFileHeaderInfo.html" title="class in com.google.template.soy.soytree"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateConflictException.html" title="class in com.google.template.soy.soytree"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/soytree/TemplateRegistry.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="TemplateRegistry.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.google.template.soy.soytree</FONT>
<BR>
Class TemplateRegistry</H2>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.template.soy.soytree.TemplateRegistry</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>TemplateRegistry</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>

<P>
A registry or index of all templates in a Soy tree.

 <p> Important: Do not use outside of Soy code (treat as superpackage-private).
<P>

<P>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateConflictException.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateConflictException</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exception thrown when there's no unique highest-priority active delegate template at render
 time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateDivision.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateDivision</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Represents a set of delegate templates with the same key (name and variant) and same priority.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#TemplateRegistry(com.google.template.soy.soytree.SoyFileSetNode)">TemplateRegistry</A></B>(<A HREF="../../../../../com/google/template/soy/soytree/SoyFileSetNode.html" title="class in com.google.template.soy.soytree">SoyFileSetNode</A>&nbsp;soyTree)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soytree/TemplateBasicNode.html" title="class in com.google.template.soy.soytree">TemplateBasicNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#getBasicTemplate(java.lang.String)">getBasicTemplate</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;templateName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a basic template given the template name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../com/google/template/soy/soytree/TemplateBasicNode.html" title="class in com.google.template.soy.soytree">TemplateBasicNode</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#getBasicTemplatesMap()">getBasicTemplatesMap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map from basic template name to node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateDivision.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateDivision</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#getDelTemplateDivisionsForAllVariants(java.lang.String)">getDelTemplateDivisionsForAllVariants</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;delTemplateName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the set of <code>DelegateTemplateDivision</code>s for all variants of a given a delegate
 template name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#getDelTemplateKeysForAllVariants(java.lang.String)">getDelTemplateKeysForAllVariants</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;delTemplateName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the set of key (name and variant) strings for all variants of a given delegate
 template name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#getDelTemplateNameToKeysMap()">getDelTemplateNameToKeysMap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map from delegate template name to set of keys.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateDivision.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateDivision</A>&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#getDelTemplatesMap()">getDelTemplatesMap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map from delegate template key (name and variant) to list of
 <code>DelegateTemplateDivision</code>s, where each list is sorted in descending priority order.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateDivision.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateDivision</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#getSortedDelTemplateDivisions(com.google.template.soy.soytree.TemplateDelegateNode.DelTemplateKey)">getSortedDelTemplateDivisions</A></B>(<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&nbsp;delTemplateKey)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the list of <code>DelegateTemplateDivision</code>s (sorted in descencing priority order)
 given a delegate template key (name and variant).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.html#selectDelTemplate(com.google.template.soy.soytree.TemplateDelegateNode.DelTemplateKey, java.util.Set)">selectDelTemplate</A></B>(<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&nbsp;delTemplateKey,
                  <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;&nbsp;activeDelPackageNames)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects a delegate template based on the rendering rules, given the delegate template key (name
 and variant) and the set of active delegate package names.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="TemplateRegistry(com.google.template.soy.soytree.SoyFileSetNode)"><!-- --></A><H3>
TemplateRegistry</H3>
<PRE>
public <B>TemplateRegistry</B>(<A HREF="../../../../../com/google/template/soy/soytree/SoyFileSetNode.html" title="class in com.google.template.soy.soytree">SoyFileSetNode</A>&nbsp;soyTree)</PRE>
<DL>
<DD>Constructor.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>soyTree</CODE> - The Soy tree from which to build a template registry.</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getBasicTemplatesMap()"><!-- --></A><H3>
getBasicTemplatesMap</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../com/google/template/soy/soytree/TemplateBasicNode.html" title="class in com.google.template.soy.soytree">TemplateBasicNode</A>&gt; <B>getBasicTemplatesMap</B>()</PRE>
<DL>
<DD>Returns a map from basic template name to node.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBasicTemplate(java.lang.String)"><!-- --></A><H3>
getBasicTemplate</H3>
<PRE>
public <A HREF="../../../../../com/google/template/soy/soytree/TemplateBasicNode.html" title="class in com.google.template.soy.soytree">TemplateBasicNode</A> <B>getBasicTemplate</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;templateName)</PRE>
<DL>
<DD>Retrieves a basic template given the template name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>templateName</CODE> - The basic template name to retrieve.
<DT><B>Returns:</B><DD>The corresponding basic template, or null if the template name is not defined.</DL>
</DD>
</DL>
<HR>

<A NAME="getDelTemplateNameToKeysMap()"><!-- --></A><H3>
getDelTemplateNameToKeysMap</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&gt;&gt; <B>getDelTemplateNameToKeysMap</B>()</PRE>
<DL>
<DD>Returns a map from delegate template name to set of keys.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDelTemplatesMap()"><!-- --></A><H3>
getDelTemplatesMap</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateDivision.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateDivision</A>&gt;&gt; <B>getDelTemplatesMap</B>()</PRE>
<DL>
<DD>Returns a map from delegate template key (name and variant) to list of
 <code>DelegateTemplateDivision</code>s, where each list is sorted in descending priority order.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDelTemplateKeysForAllVariants(java.lang.String)"><!-- --></A><H3>
getDelTemplateKeysForAllVariants</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&gt; <B>getDelTemplateKeysForAllVariants</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;delTemplateName)</PRE>
<DL>
<DD>Retrieves the set of key (name and variant) strings for all variants of a given delegate
 template name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>delTemplateName</CODE> - The delegate template name to retrieve.
<DT><B>Returns:</B><DD>The set of keys for all variants.</DL>
</DD>
</DL>
<HR>

<A NAME="getDelTemplateDivisionsForAllVariants(java.lang.String)"><!-- --></A><H3>
getDelTemplateDivisionsForAllVariants</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateDivision.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateDivision</A>&gt; <B>getDelTemplateDivisionsForAllVariants</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;delTemplateName)</PRE>
<DL>
<DD>Retrieves the set of <code>DelegateTemplateDivision</code>s for all variants of a given a delegate
 template name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>delTemplateName</CODE> - The delegate template name to retrieve.
<DT><B>Returns:</B><DD>The set of <code>DelegateTemplateDivision</code>s for all variants.</DL>
</DD>
</DL>
<HR>

<A NAME="getSortedDelTemplateDivisions(com.google.template.soy.soytree.TemplateDelegateNode.DelTemplateKey)"><!-- --></A><H3>
getSortedDelTemplateDivisions</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateDivision.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateDivision</A>&gt; <B>getSortedDelTemplateDivisions</B>(<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&nbsp;delTemplateKey)</PRE>
<DL>
<DD>Retrieves the list of <code>DelegateTemplateDivision</code>s (sorted in descencing priority order)
 given a delegate template key (name and variant).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>delTemplateKey</CODE> - The delegate template key (name and variant) to retrieve.
<DT><B>Returns:</B><DD>The corresponding list of <code>DelegateTemplateDivision</code>s (sorted in descencing
     priority order), or null if the delegate template key is not implemented.</DL>
</DD>
</DL>
<HR>

<A NAME="selectDelTemplate(com.google.template.soy.soytree.TemplateDelegateNode.DelTemplateKey, java.util.Set)"><!-- --></A><H3>
selectDelTemplate</H3>
<PRE>
public <A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode</A> <B>selectDelTemplate</B>(<A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.DelTemplateKey.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode.DelTemplateKey</A>&nbsp;delTemplateKey,
                                              <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;&nbsp;activeDelPackageNames)
                                       throws <A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateConflictException.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateConflictException</A></PRE>
<DL>
<DD>Selects a delegate template based on the rendering rules, given the delegate template key (name
 and variant) and the set of active delegate package names.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>delTemplateKey</CODE> - The delegate template key (name and variant) to select an implementation
     for.<DD><CODE>activeDelPackageNames</CODE> - The set of active delegate package names.
<DT><B>Returns:</B><DD>The selected delegate template, or null if there are no active implementations.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateConflictException.html" title="class in com.google.template.soy.soytree">TemplateRegistry.DelegateTemplateConflictException</A></CODE> - If there are two or more active implementations with
     equal priority (unable to select one over the other).</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/soytree/TemplateNode.SoyFileHeaderInfo.html" title="class in com.google.template.soy.soytree"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/google/template/soy/soytree/TemplateRegistry.DelegateTemplateConflictException.html" title="class in com.google.template.soy.soytree"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/soytree/TemplateRegistry.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="TemplateRegistry.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

        
          <div id="footer">
            <div id="footerlogo" style="float:left">
              <img src="http://www.google.com/images/art.gif"
                   alt="Google colored balls">
            </div>
            <div id="copyright" style="float:left">
              <p>
                &copy; 2009 Google -
                <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
                <a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
                <a href="http://www.google.com/about.html">About Google</a>
              </p>
            </div>
          </div>
        
      
</BODY>
</HTML>
